SimplePay\Core\Utils\Migrations\Routines\Prices_API C

Total Complexity 123
Dependencies 2
Dependents 1
Total lines 1,132
Lines of code 753
Logical lines of code 300
Comment lines 177
Methods 14
Properties 0

Methods 14

Method Rating Maintainability Complexity Lines of code
migrate_multi_subscription()
C
28
25 157
migrate_one_time_set()
A
37 11 88
migrate_single_set_subscription()
A
40 12 64
migrate_single_custom_subscription()
A
38 10 79
migrate_one_time_custom()
A
42 11 55
add_missing_custom_fields()
A
42 10 55
migrate_predefined_amounts()
A
39 8 73
get_predefined_amounts()
A
45 8 46
run()
A
48 7 37
create_product()
A
48 7 37
get_recurring_amount_toggle_args()
S
56 5 20
migrate_prices()
S
53 3 24
get_recurring_amount_toggle()
S
65 3 9
is_complete()
S
64 3 9